var window = global;
!(function(e, exports, t) {
    "use strict";
    var n;
    "function" == typeof Symbol && Symbol.iterator;
    !function($) {
        function r(e, t) {
            var n = (65535 & e) + (65535 & t);
            return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n
        }
        function o(e, t) {
            return e << t | e >>> 32 - t
        }
        function i(e, t, n, i, a, u) {
            return r(o(r(r(t, e), r(i, u)), a), n)
        }
        function a(e, t, n, r, o, a, u) {
            return i(t & n | ~t & r, e, t, o, a, u)
        }
        function u(e, t, n, r, o, a, u) {
            return i(t & r | n & ~r, e, t, o, a, u)
        }
        function l(e, t, n, r, o, a, u) {
            return i(t ^ n ^ r, e, t, o, a, u)
        }
        function c(e, t, n, r, o, a, u) {
            return i(n ^ (t | ~r), e, t, o, a, u)
        }
        function s(e, t) {
            e[t >> 5] |= 128 << t % 32,
                e[14 + (t + 64 >>> 9 << 4)] = t;
            var n, o, i, s, f, d = 1732584193, p = -271733879, m = -1732584194, h = 271733878;
            for (n = 0; n < e.length; n += 16)
                o = d,
                    i = p,
                    s = m,
                    f = h,
                    d = a(d, p, m, h, e[n], 7, -680876936),
                    h = a(h, d, p, m, e[n + 1], 12, -389564586),
                    m = a(m, h, d, p, e[n + 2], 17, 606105819),
                    p = a(p, m, h, d, e[n + 3], 22, -1044525330),
                    d = a(d, p, m, h, e[n + 4], 7, -176418897),
                    h = a(h, d, p, m, e[n + 5], 12, 1200080426),
                    m = a(m, h, d, p, e[n + 6], 17, -1473231341),
                    p = a(p, m, h, d, e[n + 7], 22, -45705983),
                    d = a(d, p, m, h, e[n + 8], 7, 1770035416),
                    h = a(h, d, p, m, e[n + 9], 12, -1958414417),
                    m = a(m, h, d, p, e[n + 10], 17, -42063),
                    p = a(p, m, h, d, e[n + 11], 22, -1990404162),
                    d = a(d, p, m, h, e[n + 12], 7, 1804603682),
                    h = a(h, d, p, m, e[n + 13], 12, -40341101),
                    m = a(m, h, d, p, e[n + 14], 17, -1502002290),
                    p = a(p, m, h, d, e[n + 15], 22, 1236535329),
                    d = u(d, p, m, h, e[n + 1], 5, -165796510),
                    h = u(h, d, p, m, e[n + 6], 9, -1069501632),
                    m = u(m, h, d, p, e[n + 11], 14, 643717713),
                    p = u(p, m, h, d, e[n], 20, -373897302),
                    d = u(d, p, m, h, e[n + 5], 5, -701558691),
                    h = u(h, d, p, m, e[n + 10], 9, 38016083),
                    m = u(m, h, d, p, e[n + 15], 14, -660478335),
                    p = u(p, m, h, d, e[n + 4], 20, -405537848),
                    d = u(d, p, m, h, e[n + 9], 5, 568446438),
                    h = u(h, d, p, m, e[n + 14], 9, -1019803690),
                    m = u(m, h, d, p, e[n + 3], 14, -187363961),
                    p = u(p, m, h, d, e[n + 8], 20, 1163531501),
                    d = u(d, p, m, h, e[n + 13], 5, -1444681467),
                    h = u(h, d, p, m, e[n + 2], 9, -51403784),
                    m = u(m, h, d, p, e[n + 7], 14, 1735328473),
                    p = u(p, m, h, d, e[n + 12], 20, -1926607734),
                    d = l(d, p, m, h, e[n + 5], 4, -378558),
                    h = l(h, d, p, m, e[n + 8], 11, -2022574463),
                    m = l(m, h, d, p, e[n + 11], 16, 1839030562),
                    p = l(p, m, h, d, e[n + 14], 23, -35309556),
                    d = l(d, p, m, h, e[n + 1], 4, -1530992060),
                    h = l(h, d, p, m, e[n + 4], 11, 1272893353),
                    m = l(m, h, d, p, e[n + 7], 16, -155497632),
                    p = l(p, m, h, d, e[n + 10], 23, -1094730640),
                    d = l(d, p, m, h, e[n + 13], 4, 681279174),
                    h = l(h, d, p, m, e[n], 11, -358537222),
                    m = l(m, h, d, p, e[n + 3], 16, -722521979),
                    p = l(p, m, h, d, e[n + 6], 23, 76029189),
                    d = l(d, p, m, h, e[n + 9], 4, -640364487),
                    h = l(h, d, p, m, e[n + 12], 11, -421815835),
                    m = l(m, h, d, p, e[n + 15], 16, 530742520),
                    p = l(p, m, h, d, e[n + 2], 23, -995338651),
                    d = c(d, p, m, h, e[n], 6, -198630844),
                    h = c(h, d, p, m, e[n + 7], 10, 1126891415),
                    m = c(m, h, d, p, e[n + 14], 15, -1416354905),
                    p = c(p, m, h, d, e[n + 5], 21, -57434055),
                    d = c(d, p, m, h, e[n + 12], 6, 1700485571),
                    h = c(h, d, p, m, e[n + 3], 10, -1894986606),
                    m = c(m, h, d, p, e[n + 10], 15, -1051523),
                    p = c(p, m, h, d, e[n + 1], 21, -2054922799),
                    d = c(d, p, m, h, e[n + 8], 6, 1873313359),
                    h = c(h, d, p, m, e[n + 15], 10, -30611744),
                    m = c(m, h, d, p, e[n + 6], 15, -1560198380),
                    p = c(p, m, h, d, e[n + 13], 21, 1309151649),
                    d = c(d, p, m, h, e[n + 4], 6, -145523070),
                    h = c(h, d, p, m, e[n + 11], 10, -1120210379),
                    m = c(m, h, d, p, e[n + 2], 15, 718787259),
                    p = c(p, m, h, d, e[n + 9], 21, -343485551),
                    d = r(d, o),
                    p = r(p, i),
                    m = r(m, s),
                    h = r(h, f);
            return [d, p, m, h]
        }
        function f(e) {
            var t, n = "", r = 32 * e.length;
            for (t = 0; t < r; t += 8)
                n += String.fromCharCode(e[t >> 5] >>> t % 32 & 255);
            return n
        }
        function d(e) {
            var t, n = [];
            for (n[(e.length >> 2) - 1] = void 0,
                     t = 0; t < n.length; t += 1)
                n[t] = 0;
            var r = 8 * e.length;
            for (t = 0; t < r; t += 8)
                n[t >> 5] |= (255 & e.charCodeAt(t / 8)) << t % 32;
            return n
        }
        function p(e) {
            return f(s(d(e), 8 * e.length))
        }
        function m(e, t) {
            var n, r, o = d(e), i = [], a = [];
            for (i[15] = a[15] = void 0,
                 o.length > 16 && (o = s(o, 8 * e.length)),
                     n = 0; n < 16; n += 1)
                i[n] = 909522486 ^ o[n],
                    a[n] = 1549556828 ^ o[n];
            return r = s(i.concat(d(t)), 512 + 8 * t.length),
                f(s(a.concat(r), 640))
        }
        function h(e) {
            var t, n, r = "0123456789abcdef", o = "";
            for (n = 0; n < e.length; n += 1)
                t = e.charCodeAt(n),
                    o += r.charAt(t >>> 4 & 15) + r.charAt(15 & t);
            return o
        }
        function y(e) {
            return unescape(encodeURIComponent(e))
        }
        function v(e) {
            return p(y(e))
        }
        function g(e) {
            return h(v(e))
        }
        function b(e, t) {
            return m(y(e), y(t))
        }
        function w(e, t) {
            return h(b(e, t))
        }
        function x(e, t, n) {
            return t ? n ? b(t, e) : w(t, e) : n ? v(e) : g(e)
        }
        window.x = x;
    }()
})()

console.log(window.x("123123"));